package com.svse.designPattern.behaviour.observer.impl;

import com.svse.designPattern.behaviour.observer.service.Subject;

/**
 * @author LiYuhang
 * @version 0.1
 * @application
 * @Date 2020/8/8 11:51
 */
public class ConcreteSubject extends Subject {
    @Override
    public void notifyObserver() {
        System.out.println("具体目标发生改变...");
        super.observerList.forEach(observer ->observer.response() );
    }
}
